package cn.com.klun.tjy.admin.common;

public class LogicsSqlException extends Exception {
    private static final long serialVersionUID = 1L;
    private String code;
    private String message;
    private String databaseType;
    private String sqlErrorCode;

    public LogicsSqlException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }

    public String getDatabaseType() {
        return this.databaseType;
    }

    public void setDatabaseType(String databaseType) {
        this.databaseType = databaseType;
    }

    public String getSqlErrorCode() {
        return this.sqlErrorCode;
    }

    public void setSqlErrorCode(String sqlErrorCode) {
        this.sqlErrorCode = sqlErrorCode;
    }
}